package com.exercise.DesignPattern.StructuralPatterns.DecoratorPattern;

public class Client {
    public static void main(String[] args) {

        Component component = new ConcreteComponent();
        Component decorator = new ConcreteDecorator(component);
        decorator.operation();  // 执行装饰后的操作

    }
}
